Buy resource activity
CLEM.Activities.ResourceActivityBuy
Arrange for purchase of a resource.

While other activities and transmutation will arrange the purchase of resources, you may wish to include an activity to purchase a resource at given times. Resources are purchased in packets with a price specified for each packet bought.
See Resource pricing to learn how to set the packet size and pricing of a resource.

The following parameters are used to define this activity

This parameter points to one of the defined Finance types in the Finance group of the Resources available for this simulation. This entry is a drop down list of available Finance types.

This parameter points to one of the defined resource types of the Resources available for this simulation. This entry is a drop down list of available Animal food store types, Human food store types, Greenhouse gas types, Equipment types, Other animal types, Product types and Water types. There is no ability to buy Labour or Land and ruminants are sold via the Ruminant Manage and Ruminant Buy and Sell activities.

The number of packets to be bought. See Resource pricing to learn about units and packets.

This parameter will determine what action is taken if there are insufficient resources to perform this activity.
You can report an error and stop the simulation, skip this activity or use the resources available. See What to do when resources are limiting

The following components will add additional functionality to this activity
This activity provides the following units for components: fixed, per packet and amount

Any Activity fee will include financial costs based on any specified identifiers and units and may limit the outcomes if supported and OnPartialResourcesAvailableAction set to UseAvailableWithImplications

Any Labour requirement will include labour allocation to perform this activity based on any specified identifiers and units and may limit the outcomes if supported and OnPartialResourcesAvailableAction set to UseAvailableWithImplications

This activity respects all Timers allowing you to determine when it will occur. See Using timers

This activity is performed during the Get Resources Required event of the setup and time-step events. This is the standard, monthly clock event by which CLEM activities request resources and perform actions based on the resources provided, therefore this activity will compete with most activities in the time-step with their location in the simulation tree determining the order they are processed (this includes activities located on other CLEM and Market components). If this activity relies on another activity having been performed, or other activities rely on this activity in the time-step, ensure it has been performed in the correct order based on it's position in the simulation tree.
See also